@import "src/assets/scss/base";
.food_box {
  width: 100%;
  height: 93px;
}

.swiper {
  .swiper_item {
    text-align: center;

    .bg_image {
      width: calc(100% - 10px);
      height: 148px;
      border-radius: 22px;
      box-shadow: 0 6px 6px 0 rgba(0, 0, 0, 0.16);
    }
  }
}

.food_wrap {
  padding: 0 26px 0 22px;
  margin: 31px 0 22px;

  .food_recommend {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    &_title {
      line-height: 21px;
      font-size: 16px;
      color: #000000;
      font-weight: 500;
      letter-spacing: 1px;
    }

    &_icon {
      font-size: 17px;
      line-height: 21px;
      color: #000000;
      margin-right: 5px;
      transform: scale(1.3);
    }
  }
}

.blogger_wrap {
  margin: 0 22px;
  padding: 19px 14px;
  box-sizing: border-box;
  background: #fefefe;
  border-radius: 19px;
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.16);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;

  .blogger_item {
    width: 100%;
    height: 53px;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #f8f7fe;
    border-radius: 25px;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
    padding: 0 18px;
    display: flex;
    flex-direction: row;
    column-gap: 7px;

    & + .blogger_item {
      margin-top: 18px;
    }

    &_img {
      align-self: center;
      flex-shrink: 0;
      width: 39px;
      height: 40px;
      background: rgba(0, 0, 0, 0.00);
      border-radius: 20px;
    }

    .blogger_content {
      flex: 1;
      padding-top: 11px;
      box-sizing: border-box;
      display: grid;
      grid-template-columns: 1fr 40px;
      grid-template-rows: 17px 12px;
      justify-content: center;
    }

    &_title {
      line-height: 17px;
      font-size: 13px;
      color: #000000;
    }

    &_content {
      transform: scale(0.75);
      font-size: 12px;
      color: #000000;
      transform-origin: left;
    }

    &_top {
      justify-self: end;
    }

    &_icon {
      justify-self: end;
      transform: scale(0.75);
      font-size: 12px;
      transform-origin: right;
      color: #000000;
      line-height: 12px;
    }
  }
}

.scroll_view {
  height: 100%;
  display: flex;
  align-items: center;
  &_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    & + .scroll_view_item {
      margin-left: 19px;
    }
    &_img {
      flex-shrink: 0;
      width: 82px;
      height: 82px;
      border-radius: 28px;
      box-shadow: 0 3px 6px 0 rgba(0,0,0,0.16);
      margin-bottom: 8px;
    }
    &_content {
      width: 95px;
      line-height: 14px;
      font-size: 12px;
      transform: scale(0.84);
      transform-origin: center;
      text-align: center;
      color: #000000;
      @include text-ellipsis()
    }
  }
}
